import request from "@/utils/request";
import qs from 'qs'

export function login(param) {
    return request.post(`/login`, qs.stringify(param), {
        method: 'POST',
        headers: {'content-type': 'application/x-www-form-urlencoded'}
    });
}

export function logout() {
  return request.get(`/logout`);
}

export function getInfo() {
  return request.get(`/employee/getInfo`);
}
